package com.code.observer.common;

/**
 * <p></p>
 *
 * @author hwf
 * @version 1.0
 * @date 2021/12/8 0:21
 */

public class ConcreteObserve implements Observe<ConcreateSubject> {

    /**
     * 观察者状态
     */
    private String observeStatus;

    @Override
    public void update(ConcreateSubject subject) {
        observeStatus = subject.getSubjectStatus();
    }
}
